ElasticPress\Feature\DidYouMean\DidYouMean S

Total Complexity 46
Dependencies 3
Dependents 1
Total lines 401
Lines of code 227
Logical lines of code 111
Comment lines 115
Methods 14
Properties 0

Methods 14

Method Rating Maintainability Complexity Lines of code
get_alternatives_terms()
A
50 9 27
get_original_search_term()
A
48 8 33
get_suggestion()
S
53 7 21
automatically_redirect_user()
S
52 6 26
add_mapping()
S
50 2 31
add_query_args()
S
55 2 21
set_ep_suggestion()
S
69 3 6
requirements_status()
S
66 2 8
get_suggested_term()
S
73 2 4
output_feature_box_long()
S
63 1 14
output_feature_box_settings()
S
61 1 13
__construct()
S
62 1 11
setup()
S
67 1 7
the_output()
S
73 1 5